/**
 * Created by asus on 2016/11/22.
 */
import React, { Component } from 'react';
//import '../../Stylesheets/App/goodsDetails.css';
import '../../Stylesheets/wx/shoppingCarts.css';

export default class StoreRow extends Component {

    render() {
        const {title,price,imgurl,Postage,peopleRemark,
            payNum,browseId,onClick,toDelete,sales} = this.props

        return (
            <div className="storeRowContainer border_bottom">
                <div style={{width:100,height:100}}
                     onClick={()=>onClick&&onClick()}
                >
                    <img src={imgurl} />
                </div>
                <div className="rightMoudle">
                    <div className="goodsTitle flex flex-column">{title}</div>
                    <div>
                        <div style={{height:18,marginBottom:5}}>
                            {
                                price?<span className="colorff f12">￥</span>:null
                            }
                            <span className="colorlv f18">{price?price:''}</span>
                        </div>
                    </div>
                </div>
            </div>
        );
    }
}